package com.lu.booteasyexcel.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("cmfz_user")
@Data
public class CmfzUser implements Serializable {
    @TableId(value = "user_id",type = IdType.AUTO)
    @ExcelIgnore
    private Integer userId;
    @TableField(value = "telphone")
    @ExcelProperty("手机号")
    private String userTelphone;
    @TableField(value = "password")
    private String userPassword;
    @ExcelProperty("头像地址")
    private String userImage;
    @ExcelProperty("昵称")
    @TableField(value = "nickname")
    private String userNickname;
    @ExcelProperty("名字")
    @TableField(value = "name")
    private String userName;
    @ExcelProperty("性别")
    @TableField(value = "sex")
    private String userSex;
    @ExcelProperty("个性签名")
    @TableField(value = "autograph")
    private String userAutograph;
    @ExcelProperty("省份")
    private String userProvince;
    @ExcelProperty("城市")
    private String userCity;
    @ExcelIgnore
    private Integer guruId;
    @ExcelIgnore
    private Integer userStatus;
    @TableField(value = "create_date")
    @ExcelIgnore
    private Date userCreateDate;

}